<template>
  <router-view />
</template>
<script>
import { initRouterPath } from '@/router/index.js'
import request from './utils/request'
import wise from './utils/util'
export default {
  name: 'app',
  created() {
    initRouterPath()
  },
  mounted() {
    window.document.documentElement.setAttribute('data-theme', 'light')

    // window.onload = function () {
    //   document.addEventListener("touchstart", function (event) {
    //     if (event.touches.length > 1) {
    //       event.preventDefault();
    //     }
    //   });
    //   document.addEventListener("gesturestart", function (event) {
    //     event.preventDefault();
    //   });
    // };
  },
  methods: {},
}
</script>
<style lang="scss">
@import './assets/css/base.scss';
@import './assets/css/public.scss';
@import './assets/css/theme.scss';
@import '@/assets/css/common.scss';

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #35353f;
  line-height: 1.5;
  height: 100vh;
  overflow-y: hidden;
}
</style>
